Declarative Incorrectness Diagnosis in Constraint Logic Programming
نویسندگان
چکیده
Our concern in this paper is the declarative incorrectness diagnosis of constraint logic programs. Many techniques have been developed for LP but cannot be merely adapted to CLP. Constraint logic program semantics is rede-ned, using a reject criterion, in term of skeletons. Skeletons give an intrinsic deenition to the answers provided by a program. The reject criterion can take into account the behaviour of an incomplete constraint solver. The main contribution of this paper is to prove that: if there exists a wrong answer then there is an incorrect clause in the program, and this clause occurs in the answer skeleton. Moreover, we give an algorithm which, given an incorrectness symptom, localizes a faulty clause and the circumstances of its incorrectness. Above all, there are new notions adapted to CLP framework.
منابع مشابه
Positive And Negative Diagnosis for Constraint Logic Programs in Terms of Proof Skeletons
The paper is motivated by the declarative debugging of constraint logic programs It deals with the theoretical basis of declarative incorrectness diag nosis It starts with a reformulation of the program semantics in terms of proof tree skeletons which is suitable for declarative diagnosis study The program semantics is explained in terms of positive semantics and negative semantics The problem ...
متن کاملDeclarative Diagnosis of Constraint Programs an assertion based approach
This paper discusses adaptation of the declarative diagnosis techniques for the use in constraint logic programming The objective is to show how the well known concepts are to be modi ed in this setting In particular the paper outlines basic algorithms for diagnosing incorrectness errors and insu ciency errors for constraint programs over arbitrary domains The main focus is on de ning kinds of ...
متن کاملDeclarative Diagnosis of Contraint Programs: An Assertion-Based Approach
This paper discusses adaptation of the declarative diagnosis techniques for the use in constraint logic programming. The objective is to show how the well-known concepts are to be modiied in this setting. In particular, the paper outlines basic algorithms for diagnosing incorrectness errors and insuuciency errors for constraint programs over arbitrary domains. The main focus is on deening kinds...
متن کاملPositive and Negative Diagnosis for Constraint
The paper is motivated by the declarative debugging of constraint logic programs. It deals with the theoretical basis of declarative incorrectness diagnosis. It starts with a reformulation of the program semantics in terms of proof tree skeletons, which is suitable for declarative diagnosis study. The program semantics is explained in terms of positive semantics and negative semantics. The prob...
متن کاملDeclarative Incorrectness Diagnosis of Constraint Logic Programs
Our concern in this paper is the declarative debugging of Constraint Logic Programs in the framework of the CLP formalism. Our diagnosis is declarative, this means that there is no need for the programmer to understand the computational behaviour of the system. What is required is the declarative intended semantics of the program. It is not possible to merely adapt to CLP diagnosis techniques o...
متن کامل